import request from '@/utils/request'

// 查询用户认证审核列表
export function listAuthentication(query) {
  return request({
    url: '/system/authentication/list',
    method: 'get',
    params: query
  })
}

// 查询用户认证审核详细
export function getAuthentication(authId) {
  return request({
    url: '/system/authentication/' + authId,
    method: 'get'
  })
}

// 新增用户认证审核
export function addAuthentication(data) {
  return request({
    url: '/system/authentication',
    method: 'post',
    data: data
  })
}

// 修改用户认证审核
export function updateAuthentication(data) {
  return request({
    url: '/system/authentication',
    method: 'put',
    data: data
  })
}

// 删除用户认证审核
export function delAuthentication(authId) {
  return request({
    url: '/system/authentication/' + authId,
    method: 'delete'
  })
}
